Avoid "C-h for help" prompt in "C-h" commands describing keys
authorEli Zaretskii <eliz@gnu.org>
Sat, 20 Apr 2024 09:11:18 +0000 (12:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 20 Apr 2024 09:11:18 +0000 (12:11 +0300)
commit08b55ec559bd3e203abe5bbbdc2bc9135d385222
tree4ee981ba6df1f4c1c2e38a46beb9c35794a255ee
parent1bbc2fa416ce4e6b78b3a72894fe749ceef31aaf
Avoid "C-h for help" prompt in "C-h" commands describing keys

* lisp/info.el (Info-goto-emacs-key-command-node): Call
'read-key-sequence' instead of using 'interactive' with the "k"
code, and suppress the "C-h for help" echo.
* lisp/help.el (help--read-key-sequence): Suppress the "C-h for
help" prompt in echo-keystrokes.  Give the prompt the
'minibuffer-prompt' face.  (Bug#70432)
lisp/help.el
lisp/info.el